import {COMPREIFX, INDENTIFICATION, NAVIGATE_PARAMS} from "../../../libs/const/widget";
export const JSON = {
  isOnly: false,
  isModule: false,
  type: `${COMPREIFX}button`,
  sign: INDENTIFICATION.BASIC,
  style: {
    width: "",
    height: "80rpx",
    position: "relative",
    left: 0,
    right: 0,
    top: 0,
    bottom: 0,
    borderRadius: "0",
    marginTop: "0rpx",
    marginBottom: "0rpx",
    marginLeft: "0rpx",
    marginRight: "0rpx",
  },
  attribute: {
    text: "默认按钮",
    fontColor: "#ffffff",
    color: "",
    type: "primary", //primary(默认)、primary、success、info、warning、error
    ...NAVIGATE_PARAMS
  },
  events: {},
  items: [],
};
export const CONFIG = {
  isShow: true,
  sign: INDENTIFICATION.BASIC,
  type: `${COMPREIFX}button`,
  name: "基础按钮",
  icon: "https://hyyxboss.oss-cn-shenzhen.aliyuncs.com/img/pub/lcdp/button.png",
  path: `/components/${COMPREIFX}button/index.vue`,
};

export default {
  JSON,
  CONFIG,
};
